import json


class ReadParam(object):
    def load_json_file(self, file):
        with open(file, 'r', encoding='utf-8') as f:
            data = json.load(f)
        return data

    def read_user_register_param(self):
        data = self.load_json_file("./data/system/user/system_user_register.json")
        headers = data["headers"]
        path = data["path"]
        cases = data["cases"]
        return headers, path, cases



if __name__ == '__main__':
    rp = ReadParam()
    rp.read_user_param()
